<?php

Class DiscussViewModel extends ViewModel{
   public $viewFields = array(
     'MedicalRecordsDiscuss'=>array('openid','user_id','rec_id','cashtype','content'=>'content1','pubtype','distime','_type'=>'LEFT'),
     'User'=>array('name'=>'name1','headimgurl','image','hospital','position','_on'=>'MedicalRecordsDiscuss.user_id=User.id'),
   );
}